package com.vhall.component.entity.account.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lsl
 * @since 2021/7/30
 */
@Data
public class AdminAddRspVO implements Serializable {

    @JsonProperty(value = "admin_id")
    private Integer adminId;

    @JsonProperty(value = "admin_name")
    private String adminName;

    @JsonProperty(value = "nick_name")
    private String nickName;


    private String mobile;

    private String email;

    private String token;

    @JsonProperty(value = "token_expire")
    private LocalDateTime tokenExpire;

    @JsonProperty(value = "role_id")
    private Integer roleId;

    @JsonProperty(value = "last_ip")
    private String lastIp;

    @JsonProperty(value = "last_time")
    private LocalDateTime lastTime;

    @JsonProperty(value = "login_num")
    private Integer loginNum;

    private Integer status;

    @JsonProperty("created_at")
    private LocalDateTime createdAt;

    @JsonProperty("updated_at")
    private LocalDateTime updatedAt;

    @JsonProperty("deleted_at")
    private LocalDateTime deletedAt;

    private String salt;
}
